package com.hksj.Intelligentmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.Intelligentmanagement.entity.SurgicalInfoEntity;
import com.hksj.Intelligentmanagement.vo.SurgicalInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName SurgicalInfoManager
 * @Description TODO
 * @Author @陈章
 * @Date 2023/3/31 11:07
 * @Version 1.0
 */
@Mapper
public interface SurgicalInfoMapper extends BaseMapper<SurgicalInfoEntity> {

    List<SurgicalInfoVo> selectAllSurgicalInfo(String time);

    int updateStatusById(@Param("surgicalInfoId") String surgicalInfoId, @Param("status") int status);

    int updateEstimateTime(@Param("id")String id,@Param("startTime") String startTime,@Param("endTime")String endTime);
}
